<%@page language="java" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<table width="30%" border="1" cellspacing="0" cellpadding="0" align="center">
    <tr>
        <td>编号</td>
        <td>名字</td>
        <td>性别</td>
    </tr>
    <c:forEach items="${studentList}" var="user">

        <tr>
            <td>${user.id}</td>
            <td>${user.name}</td>
            <td>${user.sex}</td>
        </tr>


    </c:forEach>

</table>